public class Test1 {
    public static void main(String[] args) {
        Book b = new Book();
        b.setId("b001");
        b.setName("java");
        b.setPrice(30);
        System.out.println(b.getId()+","+b.getName()+","+b.getPrice());
        b.setId("b002");
        b.setName("C++");
        b.setPrice(40);
        System.out.println(b.getId()+","+b.getName()+","+b.getPrice());
        b.setId("b003");
        b.setName("PHP");
        b.setPrice(50);
        System.out.println(b.getId()+","+b.getName()+","+b.getPrice());

    }
}